package com.situ.mall.common.service;

import com.situ.mall.common.entity.Member;
import com.baomidou.mybatisplus.extension.service.IService;
import com.situ.mall.common.vo.ResultVO;
import com.situ.mall.common.vo.TableVO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 闫佳宁
 * @since 2023-09-21
 */
public interface IMemberService extends IService<Member> {


    boolean check(String username, String password);

    TableVO select(Integer page, Integer limit, String username, String name, Integer status);


    void update(Integer id);

    void updateById1(Member m);

    Member selectByTel(String tel);

    void saveMember(String tel, String pas,String uname);

    TableVO UpdatePassword(String oldPassword, String newPassword, String newPasswordAgain, HttpServletRequest request, HttpServletResponse response);
}
